import {
  HomeOutlined,
  AppstoreOutlined,
  PieChartOutlined,
  DesktopOutlined,
  ContainerOutlined,
  BarChartOutlined,
  LineChartOutlined,
  UserOutlined,
  GiftOutlined,
  InsuranceOutlined,
} from '@ant-design/icons';

export const menulist = [
  {
    key: "/home",
    title: "首页",
    icon: <HomeOutlined />,
  },
  {
    key: "/products",
    title: "商品",
    icon: <DesktopOutlined />,
    children: [
      {
        key: "/category",
        title: "品类管理",
        icon: <GiftOutlined />,
      },
      {
        key: "/product",
        title: "商品管理",
        icon: <InsuranceOutlined />,
      },
    ]
  },
  {
    key: "/user",
    title: "用户管理",
    icon: <UserOutlined />,
  },
  {
    key: "/role",
    title: "角色管理",
    icon: <ContainerOutlined />,
  },
  {
    key: "/charts",
    title: "图形图表",
    icon: <AppstoreOutlined />,
    children: [
      {
        key: "/charts/bar",
        title: "柱状图",
        icon: <BarChartOutlined />,
      },
      {
        key: "/charts/pie",
        title: "饼状图",
        icon: <PieChartOutlined />,
      },
      {
        key: "/charts/line",
        title: "折线图",
        icon: <LineChartOutlined />,
      },
    ]
  },
]